package com.fdmgroup.benchmarker.lib.common;

import com.fdmgroup.benchmarker.lib.thread.BenchmarkTask;

public class BenchmarkSettings {
	private BenchmarkTask mTask;
	private int mPoolSize;
	private int mSampleSize;
	private int mDuration;

	public BenchmarkSettings(BenchmarkTask task, int poolSize, int sampleSize,
			int duration) {
		mTask = task;
		mPoolSize = poolSize;
		mSampleSize = sampleSize;
		mDuration = duration;
	}

	public BenchmarkTask getTask() {
		return mTask;
	}

	public void setTest(BenchmarkTask task) {
		mTask = task;
	}

	public int getPoolSize() {
		return mPoolSize;
	}

	public void setPoolSize(int poolSize) {
		mPoolSize = poolSize;
	}

	public int getSampleSize() {
		return mSampleSize;
	}

	public void setSampleSize(int sampleSize) {
		this.mSampleSize = sampleSize;
	}

	public int getDuration() {
		return mDuration;
	}

	public void setDuration(int duration) {
		mDuration = duration;
	}
}
